package scopes

import "gorm.io/gorm"

func TestedUsers(db *gorm.DB) *gorm.DB {
	return db.Where("name like 'test%' ")
}

func ExistStatus(status []int) func(db *gorm.DB) *gorm.DB {
	return func(db *gorm.DB) *gorm.DB {
		return db.Where("status in (?) ", status)

	}
}
